Sucks that we need to cast a char**, but otherwise we need to cast
{"foo", "bar", "baz" } arrays.
set_default_factory (self);
- model = G_LIST_MODEL (gtk_string_list_new ((const char **)texts));
+ model = G_LIST_MODEL (gtk_string_list_new (texts));
gtk_drop_down_set_model (self, model);
g_object_unref (model);
}
* Returns: a new #GtkStringList
*/
GtkStringList *
-gtk_string_list_new (const char **strings)
+gtk_string_list_new (const char * const *strings)
{
GtkStringList *self;
guint i;
G_DECLARE_FINAL_TYPE (GtkStringList, gtk_string_list, GTK, STRING_LIST, GObject)
GDK_AVAILABLE_IN_ALL
-GtkStringList * gtk_string_list_new (const char **strings);
+GtkStringList * gtk_string_list_new (const char * const *strings);
GDK_AVAILABLE_IN_ALL
void gtk_string_list_append (GtkStringList *self,